<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>

<!--
	Copyright (c) 1999-2008 by Digital Mars
	All Rights Reserved
	Written by Walter Bright
	www.digitalmars.com
  -->

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" >
<title>object - D Programming Language - Digital Mars</title>
<link rel="stylesheet" type="text/css" href="./style.css">
<link rel="icon" type="image/gif" href="./holy.gif" />
</head>

<body>
<div id="heading">
	<a href="http://www.digitalmars.com/"><img src="./dmlogo.gif" width="270" height="53" border="0" alt="www.digitalmars.com" align="left"></a>
	<p align="right">D Programming Language 1.0</p>


	<div id="headingNav">
	<ul>
	<li><a href="http://www.prowiki.org/wiki4d/wiki.cgi?DocComments/" title="Read/write comments and feedback">Comments</a></li>
	<li><a href="http://www.digitalmars.com/d/1.0/index.html" title="D Programming Language" class="dlink">D</a></li>
	<li><a href="http://www.digitalmars.com/advancedsearch.html" title="Search Digital Mars web site">Search</a></li>
	<li><a href="http://www.digitalmars.com/" title="www.digitalmars.com">Home</a></li>
	</ul>
	</div>

	<div id="lastupdate">Last update Wed Oct  1 23:47:51 2008</div>
</div>

<!-- -->

<div id="navigation">
    <div class="navblock">
<form method="get" action="http://www.google.com/search">
<div id="searchbox">
<input id="q" name="q" size="10" value="RTL Search" onFocus='if(this.value == "RTL Search"){this.value="";}'>
<input type="hidden" id="domains" name="domains" value="www.digitalmars.com">
<input type="hidden" id="sitesearch" name="sitesearch" value="www.digitalmars.com/d/1.0/phobos">
<input type="hidden" id="sourceid" name="sourceid" value="google-search">
<input type="submit" id="submit" name="submit" value="Go">
</div>
</form>
<div id="toctop">
    <ul>
	<li><a href="http://www.digitalmars.com/d/1.0/index.html" title="D Programming Language">D ...</a></li>
	<li><a href="http://www.digitalmars.com/d/1.0/lex.html" title="D Language Specification">Language ...</a></li>
	<li><a href="phobos.html" title="D Runtime Library">Phobos ...</a></li>
	<li><a href="http://www.digitalmars.com/d/1.0/comparison.html" title="Language Comparisons">Comparisons ...</a></li>
    </ul>
</div>
</div>
    <div class="navblock">
<ul>
<li><a href="index.html" title="Index of all HTML files">Index</a></li>
</ul>
    <ul>
	<li><a href="object.html" title="root of object hierarchy">object</a></li>
    </ul>
    <h2><a href="phobos.html#std" title="D standard modules">std</a></h2>
    <ul>
	<li><a href="std.base64.html" title="Encode/decode base64 format">std.base64</a></li>
	<li><a href="std.bind.html" title="Function argument binding">std.bind</a></li>
	<li><a href="std.bitarray.html" title="Arrays of bits">std.bitarray</a></li>
	<li><a href="std.boxer.html" title="Box/unbox types">std.boxer</a></li>
	<li><a href="std.compiler.html" title="Information about the D compiler implementation">std.compiler</a></li>
	<li><a href="std.conv.html" title="Conversion of strings to integers">std.conv</a></li>
	<li><a href="std.cover.html" title="D coverage analyzer">std.cover</a></li>
	<li><a href="std.cpuid.html" title="CPU identification">std.cpuid</a></li>
	<li><a href="std.ctype.html" title="Simple character classification">std.ctype</a></li>
	<li><a href="std.date.html" title="Date and time functions">std.date</a></li>
	<li><a href="std.demangle.html" title="Demangle D names">std.demangle</a></li>
	<li><a href="std.file.html" title="Basic file operations">std.file</a></li>
	<li><a href="std.format.html" title="Formatted conversions of values to strings">std.format</a></li>
	<li><a href="std.gc.html" title="Control the garbage collector">std.gc</a></li>
	<li><a href="std.intrinsic.html" title="Compiler built in intrinsic functions">std.intrinsic</a></li>
	<li><a href="std.math.html" title="the usual math functions">std.math</a></li>
	<li><a href="std.md5.html" title="Compute MD5 digests">std.md5</a></li>
	<li><a href="std.metastrings.html" title="Metaprogramming with strings">std.metastrings</a></li>
	<li><a href="std.mmfile.html" title="Memory mapped files">std.mmfile</a></li>
	<li><a href="std.openrj.html" title="Basic database">std.openrj</a></li>
	<li><a href="std.outbuffer.html" title="Assemble data into an array of bytes">std.outbuffer</a></li>
	<li><a href="std.outofmemory.html" title="Out of memory exception">std.outofmemory</a></li>
	<li><a href="std.path.html" title="Manipulate file names, path names, etc.">std.path</a></li>
	<li><a href="std.process.html" title="Create/destroy threads">std.process</a></li>
	<li><a href="std.random.html" title="Random number generation">std.random</a></li>
	<li><a href="std.regexp.html" title="regular expressions">std.regexp</a></li>
	<li><a href="std.signals.html" title="Signals">std.signals</a></li>
	<li><a href="std.socket.html" title="Sockets">std.socket</a></li>
	<li><a href="std.socketstream.html" title="Stream for a blocking, connected Socket">std.socketstream</a></li>
	<li><a href="std.stdint.html" title="Integral types for various purposes">std.stdint</a></li>
	<li><a href="std.stdio.html" title="Standard I/O">std.stdio</a></li>
	<li><a href="std.cstream.html" title="Stream I/O">std.cstream</a></li>
	<li><a href="std.stream.html" title="Stream I/O">std.stream</a></li>
	<li><a href="std.string.html" title="Basic string operations">std.string</a></li>
	<li><a href="std.system.html" title="Inquire about the CPU, operating system">std.system</a></li>
	<li><a href="std.thread.html" title="Thread operations">std.thread</a></li>
	<li><a href="std.traits.html" title="Type traits">std.traits</a></li>
	<li><a href="std.typetuple.html" title="Type tuples">std.typetuple</a></li>
	<li><a href="std.uni.html" title="Unicode classification">std.uni</a></li>
	<li><a href="std.uri.html" title="Encode and decode Uniform Resource Identifiers (URIs)">std.uri</a></li>
	<li><a href="std.utf.html" title="Encode and decode utf character encodings">std.utf</a></li>
	<li><a href="std.zip.html" title="Read/write zip archives">std.zip</a></li>
	<li><a href="std.zlib.html" title="Compression / Decompression of data">std.zlib</a></li>
	<li><a href="std.c.fenv.html" title="Floating point environment">std.c.fenv</a></li>
	<li><a href="std.c.locale.html" title="Locale">std.c.locale</a></li>
	<li><a href="std.c.math.html" title="Math">std.c.math</a></li>
	<li><a href="std.c.process.html" title="Process">std.c.process</a></li>
	<li><a href="std.c.stdarg.html" title="Variadic arguments">std.c.stdarg</a></li>
	<li><a href="std.c.stddef.html" title="Standard definitions">std.c.stddef</a></li>
	<li><a href="std.c.stdio.html" title="Standard I/O">std.c.stdio</a></li>
	<li><a href="std.c.stdlib.html" title="Standard library">std.c.stdlib</a></li>
	<li><a href="std.c.string.html" title="Strings">std.c.string</a></li>
	<li><a href="std.c.time.html" title="Time">std.c.time</a></li>
	<li><a href="std.c.wcharh.html" title="Wide characters">std.c.wcharh</a></li>
	<li><a href="std.windows.charset.html" title="Conversion to/from Windows character sets">std.windows.charset</a></li>
	<li><a href="phobos.html#std_windows" title="Modules specific to Windows">std.windows</a></li>
	<li><a href="phobos.html#std_linux" title="Modules specific to Windows">std.linux</a></li>
	<li><a href="phobos.html#std_c_windows" title="C Windows API">std.c.windows</a></li>
	<li><a href="phobos.html#std_c_linux" title="C Linux API">std.c.linux</a></li>
    </ul>
</div>
</div>
<div id="content">
    <h1><a href="./htmlsrc/object.html">object</a></h1>
    
<dl>
<dt><big>alias bool <a href="./htmlsrc/object.html#L7" title="At line 7.">bit</a>;</big></dt>
<dd></dd>
<dt><big>alias typeof(int.sizeof) <a href="./htmlsrc/object.html#L9" title="At line 9.">size_t</a>;</big></dt>
<dd></dd>
<dt><big>alias typeof(cast(void*)0 - cast(void*)0) <a href="./htmlsrc/object.html#L10" title="At line 10.">ptrdiff_t</a>;</big></dt>
<dd></dd>
<dt><big>alias size_t <a href="./htmlsrc/object.html#L11" title="At line 11.">hash_t</a>;</big></dt>
<dd></dd>
<dt><big>alias char[] <a href="./htmlsrc/object.html#L13" title="At line 13.">string</a>;</big></dt>
<dd></dd>
<dt><big>alias wchar[] <a href="./htmlsrc/object.html#L14" title="At line 14.">wstring</a>;</big></dt>
<dd></dd>
<dt><big>alias dchar[] <a href="./htmlsrc/object.html#L15" title="At line 15.">dstring</a>;</big></dt>
<dd></dd>
<dt><big>int <a href="./htmlsrc/object.html#L18" title="At line 18.">printf</a>(char *, ...); [extern(C)]</big></dt>
<dd></dd>
<dt><big>void <a href="./htmlsrc/object.html#L19" title="At line 19.">trace_term</a>(); [extern(C)]</big></dt>
<dd></dd>
<dt><big>class <a href="./htmlsrc/object.html#L22" title="At line 22.">Object</a>;</big></dt>
<dd>
<dl>
<dt><big>void <a href="./htmlsrc/object.html#L24" title="At line 24.">print</a>();</big></dt>
<dd></dd>
<dt><big>char[] <a href="./htmlsrc/object.html#L25" title="At line 25.">toString</a>();</big></dt>
<dd></dd>
<dt><big>hash_t <a href="./htmlsrc/object.html#L26" title="At line 26.">toHash</a>();</big></dt>
<dd></dd>
<dt><big>int <a href="./htmlsrc/object.html#L27" title="At line 27.">opCmp</a>(Object <i>o</i>);</big></dt>
<dd></dd>
<dt><big>int <a href="./htmlsrc/object.html#L28" title="At line 28.">opEquals</a>(Object <i>o</i>);</big></dt>
<dd></dd>
<dt><big>void <a href="./htmlsrc/object.html#L30" title="At line 30.">notifyRegister</a>(void delegate(Object) <i>dg</i>); [final]</big></dt>
<dd></dd>
<dt><big>void <a href="./htmlsrc/object.html#L31" title="At line 31.">notifyUnRegister</a>(void delegate(Object) <i>dg</i>); [final]</big></dt>
<dd></dd>
<dt><big>Object <a href="./htmlsrc/object.html#L33" title="At line 33.">factory</a>(char[] <i>classname</i>); [static]</big></dt>
<dd></dd></dl></dd>
<dt><big>struct <a href="./htmlsrc/object.html#L36" title="At line 36.">Interface</a>;</big></dt>
<dd>
<dl>
<dt><big>ClassInfo <a href="./htmlsrc/object.html#L38" title="At line 38.">classinfo</a>;</big></dt>
<dd></dd>
<dt><big>void *[] <a href="./htmlsrc/object.html#L39" title="At line 39.">vtbl</a>;</big></dt>
<dd></dd>
<dt><big>int <a href="./htmlsrc/object.html#L40" title="At line 40.">offset</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L43" title="At line 43.">ClassInfo</a> : Object;</big></dt>
<dd>
<dl>
<dt><big>byte[] <a href="./htmlsrc/object.html#L45" title="At line 45.">init</a>;</big></dt>
<dd></dd>
<dt><big>char[] <a href="./htmlsrc/object.html#L46" title="At line 46.">name</a>;</big></dt>
<dd></dd>
<dt><big>void *[] <a href="./htmlsrc/object.html#L47" title="At line 47.">vtbl</a>;</big></dt>
<dd></dd>
<dt><big>Interface[] <a href="./htmlsrc/object.html#L48" title="At line 48.">interfaces</a>;</big></dt>
<dd></dd>
<dt><big>ClassInfo <a href="./htmlsrc/object.html#L49" title="At line 49.">base</a>;</big></dt>
<dd></dd>
<dt><big>void * <a href="./htmlsrc/object.html#L50" title="At line 50.">destructor</a>;</big></dt>
<dd></dd>
<dt><big>void (*classInvariant)(Object) <a href="./htmlsrc/object.html#L51" title="At line 51.">classInvariant</a>;</big></dt>
<dd></dd>
<dt><big>uint <a href="./htmlsrc/object.html#L52" title="At line 52.">flags</a>;</big></dt>
<dd></dd>
<dt><big>void * <a href="./htmlsrc/object.html#L57" title="At line 57.">deallocator</a>;</big></dt>
<dd></dd>
<dt><big>OffsetTypeInfo[] <a href="./htmlsrc/object.html#L58" title="At line 58.">offTi</a>;</big></dt>
<dd></dd>
<dt><big>void* <a href="./htmlsrc/object.html#L59" title="At line 59.">defaultConstructor</a>;</big></dt>
<dd></dd>
<dt><big>ClassInfo <a href="./htmlsrc/object.html#L61" title="At line 61.">find</a>(char[] <i>classname</i>); [static]</big></dt>
<dd></dd>
<dt><big>Object <a href="./htmlsrc/object.html#L62" title="At line 62.">create</a>();</big></dt>
<dd></dd></dl></dd>
<dt><big>struct <a href="./htmlsrc/object.html#L65" title="At line 65.">OffsetTypeInfo</a>;</big></dt>
<dd>
<dl>
<dt><big>size_t <a href="./htmlsrc/object.html#L67" title="At line 67.">offset</a>;</big></dt>
<dd></dd>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L68" title="At line 68.">ti</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L71" title="At line 71.">TypeInfo</a>;</big></dt>
<dd>
<dl>
<dt><big>hash_t <a href="./htmlsrc/object.html#L73" title="At line 73.">getHash</a>(void * <i>p</i>);</big></dt>
<dd></dd>
<dt><big>int <a href="./htmlsrc/object.html#L74" title="At line 74.">equals</a>(void * <i>p1</i>, void * <i>p2</i>);</big></dt>
<dd></dd>
<dt><big>int <a href="./htmlsrc/object.html#L75" title="At line 75.">compare</a>(void * <i>p1</i>, void * <i>p2</i>);</big></dt>
<dd></dd>
<dt><big>size_t <a href="./htmlsrc/object.html#L76" title="At line 76.">tsize</a>();</big></dt>
<dd></dd>
<dt><big>void <a href="./htmlsrc/object.html#L77" title="At line 77.">swap</a>(void * <i>p1</i>, void * <i>p2</i>);</big></dt>
<dd></dd>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L78" title="At line 78.">next</a>();</big></dt>
<dd></dd>
<dt><big>void[] <a href="./htmlsrc/object.html#L79" title="At line 79.">init</a>();</big></dt>
<dd></dd>
<dt><big>uint <a href="./htmlsrc/object.html#L80" title="At line 80.">flags</a>();</big></dt>
<dd></dd>
<dt><big>OffsetTypeInfo[] <a href="./htmlsrc/object.html#L82" title="At line 82.">offTi</a>();</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L85" title="At line 85.">TypeInfo_Typedef</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L87" title="At line 87.">base</a>;</big></dt>
<dd></dd>
<dt><big>char[] <a href="./htmlsrc/object.html#L88" title="At line 88.">name</a>;</big></dt>
<dd></dd>
<dt><big>void[] <a href="./htmlsrc/object.html#L89" title="At line 89.">m_init</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L92" title="At line 92.">TypeInfo_Enum</a> : TypeInfo_Typedef;</big></dt>
<dd>
</dd>
<dt><big>class <a href="./htmlsrc/object.html#L96" title="At line 96.">TypeInfo_Pointer</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L98" title="At line 98.">m_next</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L101" title="At line 101.">TypeInfo_Array</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L103" title="At line 103.">value</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L106" title="At line 106.">TypeInfo_StaticArray</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L108" title="At line 108.">value</a>;</big></dt>
<dd></dd>
<dt><big>size_t <a href="./htmlsrc/object.html#L109" title="At line 109.">len</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L112" title="At line 112.">TypeInfo_AssociativeArray</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L114" title="At line 114.">value</a>;</big></dt>
<dd></dd>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L115" title="At line 115.">key</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L118" title="At line 118.">TypeInfo_Function</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L120" title="At line 120.">next</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L123" title="At line 123.">TypeInfo_Delegate</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L125" title="At line 125.">next</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L128" title="At line 128.">TypeInfo_Class</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>ClassInfo <a href="./htmlsrc/object.html#L130" title="At line 130.">info</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L133" title="At line 133.">TypeInfo_Interface</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>ClassInfo <a href="./htmlsrc/object.html#L135" title="At line 135.">info</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L138" title="At line 138.">TypeInfo_Struct</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>char[] <a href="./htmlsrc/object.html#L140" title="At line 140.">name</a>;</big></dt>
<dd></dd>
<dt><big>void[] <a href="./htmlsrc/object.html#L141" title="At line 141.">m_init</a>;</big></dt>
<dd></dd>
<dt><big>uint function(void*) <a href="./htmlsrc/object.html#L143" title="At line 143.">xtoHash</a>;</big></dt>
<dd></dd>
<dt><big>int function(void*,void*) <a href="./htmlsrc/object.html#L144" title="At line 144.">xopEquals</a>;</big></dt>
<dd></dd>
<dt><big>int function(void*,void*) <a href="./htmlsrc/object.html#L145" title="At line 145.">xopCmp</a>;</big></dt>
<dd></dd>
<dt><big>char[] function(void*) <a href="./htmlsrc/object.html#L146" title="At line 146.">xtoString</a>;</big></dt>
<dd></dd>
<dt><big>uint <a href="./htmlsrc/object.html#L148" title="At line 148.">m_flags</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L151" title="At line 151.">TypeInfo_Tuple</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo[] <a href="./htmlsrc/object.html#L153" title="At line 153.">elements</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L156" title="At line 156.">TypeInfo_Const</a> : TypeInfo;</big></dt>
<dd>
<dl>
<dt><big>TypeInfo <a href="./htmlsrc/object.html#L158" title="At line 158.">next</a>;</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L161" title="At line 161.">TypeInfo_Invariant</a> : TypeInfo_Const;</big></dt>
<dd>
</dd>
<dt><big>class <a href="./htmlsrc/object.html#L167" title="At line 167.">Exception</a> : Object;</big></dt>
<dd>
<dl>
<dt><big>string <a href="./htmlsrc/object.html#L169" title="At line 169.">msg</a>;</big></dt>
<dd></dd>
<dt><big><a href="./htmlsrc/object.html#L171" title="At line 171.">this</a>(string <i>msg</i>);</big></dt>
<dd></dd>
<dt><big>void <a href="./htmlsrc/object.html#L172" title="At line 172.">print</a>(); [override]</big></dt>
<dd></dd>
<dt><big>string <a href="./htmlsrc/object.html#L173" title="At line 173.">toString</a>(); [override]</big></dt>
<dd></dd></dl></dd>
<dt><big>class <a href="./htmlsrc/object.html#L178" title="At line 178.">Error</a> : Exception;</big></dt>
<dd>
<dl>
<dt><big>Error <a href="./htmlsrc/object.html#L180" title="At line 180.">next</a>;</big></dt>
<dd></dd>
<dt><big><a href="./htmlsrc/object.html#L182" title="At line 182.">this</a>(string <i>msg</i>);</big></dt>
<dd></dd>
<dt><big><a href="./htmlsrc/object.html#L183" title="At line 183.">this</a>(string <i>msg</i>, Error <i>next</i>);</big></dt>
<dd></dd></dl></dd></dl>
    <br><br>
<br><br>
<!-- Google ad -->
<script type="text/javascript"><!--
/**/google_ad_client = "pub-5628673096434613";
/**/google_ad_width = 728;
/**/google_ad_height = 90;
/**/google_ad_format = "728x90_as";
/**/google_ad_channel ="6203743411";
/**/google_page_url = document.location;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>


<div id="copyright">
Copyright &copy; 1999-2008 by Digital Mars, All Rights Reserved |
Page generated by <a href="http://code.google.com/p/dil">dil</a> on Wed Oct  1 23:47:51 2008
</div>

</body>
</html>